﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MessageCommon;

namespace ReceiveClient
{
    public class NotificationCenter
    {
        public static NotificationCenter PubicEventCenter = new NotificationCenter();

        public event OneMsgReceiveFinishedEvendHandler OneMsgReceiveFinished;
        public void RaiseOneMsgReceiveFinishedEvent(PushMessage msg)
        {
            if (OneMsgReceiveFinished != null)
            {
                OneMsgReceiveFinished(msg);
            }
        }
    }

    public delegate void OneMsgReceiveFinishedEvendHandler(PushMessage msg);
}
